package com.stone.constant;

/**
 * @author stone
 * @date 2022/2/24 15:01
 */
public interface Const {

    String AUTH = "Authorization";
    String AUTH_PREFIX = "auth:token:";
    String IMAGE_PREFIX = "auth:image:";
    Long AUTH_EXPIRE = 6 * 60 * 60L;
    String suffix = "";

    String DEFAULT_PWD = "123456Qqq";

    enum Menu {
        catalogue(1, "目录"),
        menu(2, "菜单"),
        button(3, "按钮");

        public Integer type;
        public String msg;

        Menu(Integer type, String msg) {
            this.type = type;
            this.msg = msg;
        }
    }
}

